<?php
if(!isset($_SESSION['loginid'])){
	include 'login.php';
} else {
?>
<style>
#listofplaces tbody td{ border-left: 1px dashed #999; padding-left: 3px;  }
</style>
<div align="right"><a href="logout.php"><strong style="color:#900">Sign Out</strong></a></div>
<br>
<?php
if(isset($_GET['do'])){
	switch($_GET['do']){
		default: $admin_content = 'admin.places.php'; break;
	}
}
else $admin_content = 'admin.main.php';

/* display */
include $admin_content;

}